package com.qfedu.aunt.commons.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 雇主评价
 * </p>
 *
 * @author xiaobobo
 * @since 2022-10-26
 */
@Data
@TableName("t_employer_evaluation")
@ApiModel(value="EmployerEvaluation对象", description="雇主评价")
@AllArgsConstructor
@NoArgsConstructor
public class EmployerEvaluation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "评价id")
    @TableId(value = "evaluation_id", type = IdType.ID_WORKER_STR)
    private String evaluationId;

    @ApiModelProperty(value = "经纪人id")
    private String agentId;

    @ApiModelProperty(value = "雇主id")
    private String employerId;

    @ApiModelProperty(value = "阿姨id")
    private String auntId;

    @ApiModelProperty(value = "评价类型")
    private Integer evaluationType;

    @ApiModelProperty(value = "评价备注")
    private String evaluationRemark;

    @ApiModelProperty(value = "评价内容")
    private String evaluationContent;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

    @ApiModelProperty(value = "离线乐观锁")
    private Integer version;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
